﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace OddUserManager.Model
{
    public class AnalystSelectedMatch:Entity
    {
        /// <summary>
        /// 比赛编号
        /// </summary>
        public int MatchId { get; set; }
        /// <summary>
        /// 创建者ID
        /// </summary>
        public int CreateAppUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 最后编辑时间
        /// </summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        public DateTime LastUpdateTime { get; set; }
        /// <summary>
        /// 标签ID字符串集
        /// </summary>
        public string BookMarksString { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        public decimal SP { get; set; }

        public decimal ResultChance { get; set; }

        public string Issue { get; set; }

        public string WeekName { get; set; }
        /// <summary>
        /// 详细的比赛选择项信息
        /// </summary>
        [DapperIgnore]
        public List<AnalystDetailSelectedContents> DetailSelectedContentsList { get; set; }
    }

    public class AnalystDetailSelectedContents : Entity
    {
        public string WeekName { get; set; }
        public int AnalystSelectedMatch { get; set; }
        public int SelectedMatchId { get; set; }
        public SelectedResult SelectedResult { get; set; }

        public string FixOdds { get; set; }
        public decimal SelectedOdds { get; set; }

        public decimal SelectedPayReturn { get; set; }

        public int GoodLevel { get; set; }

        public decimal SelectedChance { get; set; }
    }



}
